#define _CRT_SECURE_NO_WARNINGS 
#include <iostream>
using namespace std;

const int N = 110;

int main() {
	int a[N];
	int n;
	cin >> n;
	for (int i = 0; i < n; i++) {
		cin >> a[i];
	}
	for (int i = 0; i < n; i++) {
		if (i != 0)cout << ",";
		cout << a[i];
	}
	return 0;
}